package com.imooc.restaurant.dao;

import com.imooc.restaurant.po.RestaurantPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * ProjectName restaurant
 *
 * @author xieyucan
 * <br>CreateDate 2022/9/20 16:42
 */
@Mapper
@Repository
public interface RestaurantDao {

    @Select("select id,name,address,status,settlement_id settlementId,date " +
            "from restaurant where id=#{id}")
    RestaurantPo selectRestaurant(Integer id);
}
